package com.blog.mapper;

import com.blog.seckill.goods.Good;
import com.blog.seckill.goods.ProductSpu;

import java.util.List;

public interface ProductSpuMapper {
    int deleteByPrimaryKey(Long spuId);

    int insert(ProductSpu record);

    int insertSelective(ProductSpu record);

    ProductSpu selectByPrimaryKey(Long spuId);

    int updateByPrimaryKeySelective(ProductSpu record);

    int updateByPrimaryKey(ProductSpu record);

    List<Good> selectAllGoods();
}